package com.tt.payee.service.log.impl;


import com.tt.payee.domain.SysLog;
import com.tt.payee.mapper.SysLogMapper;
import com.tt.payee.service.log.SysLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author Tang
 * @Description: 日志
 * @date:2020-03-08 23:17
 */

@Service
public class SysLogServiceImpl implements SysLogService {

    @Resource
    SysLogMapper sysLogMapper;


    @Override
    public int addTheLog(SysLog sysLog) {
        return sysLogMapper.insertLogByUsername(sysLog);
    }

}
